sninfo lsnodestatus
使用 sninfo lsnodestatus 指令顯示節點的現行相關資訊。
語法
參數
無
說明
此指令會列出 IBM Spectrum Virtualize for Public Cloud 實作的節點狀態的相關詳細資料。
這份表格提供可以顯示為輸出視圖資料的屬性值。
| 屬性 | 說明 |
|---|---|
| panel_name | 指出節點畫面名稱。 |
| host_serial_number | 指出系統網頁上指示的序號。 |
| host_instance_id | 指出 Amazon Web Services (AWS) 實例 ID。 |
| host_name | 指出節點伺服器的主機名稱。 |
| current_host_type | 指出現行 AWS EC2 實例類型。 |
| installed_host_type | 指出節點上第一個安裝的 AWS EC2 實例類型。 |
| serviceip | 指出現行節點服務 IP 位址。 |
| node_status | 指出正在執行的節點狀態。IBM Cloud™ 實作的狀態值如下:
|
| url | 此 URL 提供了 IBM Cloud 中裸機伺服器或 AWS 中 Docker 主機實例的詳細資料。若為 AWS,此值由 host_instance_id 和從 AWS API 取得的 VM 區域組成。 |
| version | 指出現行節點的版本。對於 IBM Cloud 實作,此值為空白。 |
| info | 指出節點的主機端錯誤或警告資訊。 |
註: 在 node_status 不是 running 時,除了 node_status 以外,所有其他欄位都為空白。在非 AWS 環境中,欄位 host_instance_id、host_name 和 url 一律為空。
呼叫範例
sninfo lsnodestatus
顯示的輸出如下:
panel_name: B017V7X
host_serial_number: SL017V7X
host_name: bm02
current_host_type: c5.4xlarge
installed_host_type: c5.9xlarge
serviceip: 10.112.17.35
node_status: active
url: https://cloud.ibm.com/classic/devices/details/510763
呼叫範例
sninfo lsnodestatus
顯示的輸出如下:
panel_name: B0WEST1
host_instance_id: i-0f57974b8a3cc1b05
host_name: ip-172-31-31-198.us-west-2.compute.internal
current_host_type: c5.4xlarge
installed_host_type: c5.9xlarge
serviceip: 10.112.17.35
node_status: running
url: https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#Instances:instanceId=i-0f57974b8a3cc1b05
version: 8.1.3.1-143.5.0000000000000
呼叫範例
sninfo lsnodestatus
顯示的輸出如下:
panel_name:
host_instance_id: i-0e3b36fa8b3994bff
host_name: ip-172-31-31-167.us-west-2.compute.internal
current_host_type: c5.4xlarge
installed_host_type: c5.9xlarge
serviceip:
node_status: stopped
url: https://us-west-2.console.aws.amazon.com/ec2/v2/home?region=us-west-2#Instances:instanceId=i-0e3b36fa8b3994bff
version:
info: CMMSV1081E The AWS EC2 instance type can not be changed from the first installed type c5.9xlarge to target type c5.4xlarge.
